package com.hxzy.controller.admin.login.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ApiModel(value = "登录模型")
public class AdminLoginReq {
    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank(message = "用户名不能为空")
    private String loginName;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String loginPwd;

    @ApiModelProperty(value = "账户类型",required = true)
    @NotBlank(message = "账户类型不能为空")
    private String accountType;


    @ApiModelProperty(value = "验证码",required = true)
    @NotBlank(message = "验证码不能为空")
    private String code;


    @ApiModelProperty(value = "验证码标识",required = true)
    @NotBlank(message = "验证码标识不能为空")
    private String uuid;
}
